package com.ruoyi.exam.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;


/**
 * 题目答案对象 exam_question_answer
 *
 * @author Tellsea
 * @date 2025-05-30
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName("exam_question_answer")
public class ExamQuestionAnswer extends BaseEntity {

    /**
     * 答案ID
     */
    @TableId
    private Long answerId;

    /**
     * 题目ID
     */
    @Excel(name = "题目ID")
    private Long questionId;

    /**
     * 答案内容
     */
    @Excel(name = "答案内容")
    private String answerContent;

    /**
     * 答案类型（1标准答案 2参考答案）
     */
    @Excel(name = "答案类型", readConverterExp = "1=标准答案,2=参考答案")
    private String answerType;

    /**
     * 评分规则
     */
    @Excel(name = "评分规则")
    private String scoreRule;

}
